package com.yunji.framework_template.orm.persistence.mapper;

import java.util.List;

import com.yunji.framework_template.common.web.Page;
import com.yunji.framework_template.orm.persistence.model.NewsComments;

public interface NewsCommentsMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(NewsComments record);

    int insertSelective(NewsComments record);

    NewsComments selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(NewsComments record);

    int updateByPrimaryKey(NewsComments record);

    List<NewsComments> selectByCondition(NewsComments record);

    List<NewsComments> selectAll();

    List<NewsComments> selectByPage(Page page);

    Integer count(NewsComments record);

    int deleteByCondition(NewsComments record);
}
